<!DOCTYPE html>
<html lang="en">
<head>
<title>SimplyTranslate - Preferences</title>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.gif') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<meta name="description" content="Experience simple and private translations">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'">
<meta name="robots" content="noindex,nofollow,noarchive" />
</head>
<body>
<header><h1>SimplyTranslate</h1></header>
<h2>Preferences</h2>
<form action="/prefs" method="POST" id="prefs">
<label for="use_text_fields">Use text fields for language selection</label>
<input type="checkbox" id="use_text_fields" name="use_text_fields"
{% if use_text_fields %}checked{% endif %}>
<label for="tts_enabled">Enable text-to-speech</label>
<input type="checkbox" id="tts_enabled" name="tts_enabled"
{% if tts_enabled %}checked{% endif %}>
<button type="submit">Save preferences</button>
</form>
<a href="/"> &#10550; Go Back To The Translator</a>
</body>
</html>
